package o;

import android.net.Uri;
import android.os.Bundle;
import com.huawei.hms.support.hianalytics.HiAnalyticsConstant;

public class bwd {
    public static boolean ˎ() {
        return azc.ˎ().ॱ() >= 14;
    }

    public static void ॱ(int i) {
        Class ˋ = cjl.ˋ("main.activity");
        if (ˋ != null) {
            Bundle bundle = new Bundle();
            bundle.putString(HiAnalyticsConstant.BI_KEY_PACKAGE, bqy.ˋ().ˏ().getPackageName());
            bundle.putString("class", ˋ.getName());
            bundle.putInt("badgenumber", i);
            try {
                bqy.ˋ().ˏ().getContentResolver().call(Uri.parse("content://com.huawei.android.launcher.settings/badge/"), "change_badge", null, bundle);
            } catch (Throwable e) {
                bqx.ˊ("LauncherBadgeManager", "updateLauncherBade error", e);
            }
        }
    }
}
